package com.jic.point.model.entity;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.math.BigDecimal;
import com.jic.point.model.entity.BaseEntity;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@ApiModel(description = " conf_point_card ")
public class ConfPointCard extends BaseEntity{
	private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "主键")
    private Long id;

    @ApiModelProperty(notes = "批次号")
    private String applyCode;

    @ApiModelProperty(notes = "积分卡类别")
    private Long cardSort;

    @ApiModelProperty("卡密")
    private String cardPassword;

    @ApiModelProperty(notes = "一级需求方ID")
    private String firstDemandSideCode;

    @ApiModelProperty(notes = "二级需求方ID")
    private String secondDemandSideCode;

    @ApiModelProperty(notes = "需求ID")
    private Integer demandId;

    @ApiModelProperty(notes = "卡类型(积分卡类型（1、权益卡；2、海星卡；3、定制卡；4、贵宾卡；智慧整套卡）)")
    private Long cardType;

    @ApiModelProperty(notes = "卡号")
    private String cardNo;

    @ApiModelProperty(notes = "总积分")
    private BigDecimal total;

    @ApiModelProperty(notes = "可用积分")
    private BigDecimal available;

    @ApiModelProperty(notes = "冻结积分")
    private BigDecimal frozen;

    @ApiModelProperty(notes = "面额")
    private BigDecimal limited;

    @ApiModelProperty(notes = "申请时间")
    private Date applyTime;

    @ApiModelProperty(notes = "过期时间")
    private Date expiryTime;

    @ApiModelProperty(notes = "门店ID")
    private Long storeId;

    @ApiModelProperty(notes = "会员ID")
    private Long memberId;

    @ApiModelProperty(notes = "会员名称")
    private String memberName;

    @ApiModelProperty(notes = "手机号码")
    private String mobileNo;

    @ApiModelProperty(notes = "激活时间")
    private Date activeTime;

    @ApiModelProperty(notes = "消费时间")
    private Date consumeTime;

    @ApiModelProperty(notes = "卡片状态")
    private Long sts;

    @ApiModelProperty(notes = "释放  0：未释放    1：释放")
    private Integer pointRelease;

    @ApiModelProperty(notes = "是否过期 0：未过期  1：已过期")
    private Integer pastDue;

}
